package com.piggy.logi.sys.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 运单运行日志分页查询对象 logi_waybill_log
 *
 * @author piggy
 * @date 2023-12-07
 */

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("运单运行日志分页查询对象")
public class LogiWaybillLogQueryBo extends BaseEntity {

	/** 主键 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("主键")
	private Long id;
	/** 运单id */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("运单id")
	private Long waybillId;
	/** 运单编号 */
	@ApiModelProperty("运单编号")
	private String outCode;
	/** 运单运行节点状态 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("运单运行节点状态")
	private Long flowStatus;
	/** 时间节点 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("时间节点")
	private Date timeLoad;
	/** 日志事件 */
	@ApiModelProperty("日志事件")
	private String logMsg;
	/** 操作人 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("操作人")
	private Long operator;
	/** 操作人手机号码 */
	@ApiModelProperty("操作人手机号码")
	private String operatePhone;

}
